package com.example.hotelapp.Base;

/**
 * 提交订单实体类
 */
public class InsertBookBean {

    /**
     * code : 1
     * msg : 添加成功
     * data : {"id":6,"memberId":3,"roomId":1,"checkInDate":1609689600000,"departureTime":1609948800000,"bookingRoomNum":1,"payment":1608.69,"orderTime":1609689600000,"remark":"改订单已创建","states":"已支付","totalPrice":1608.69,"orderDay":"3"}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 6
         * memberId : 3
         * roomId : 1
         * checkInDate : 1609689600000
         * departureTime : 1609948800000
         * bookingRoomNum : 1
         * payment : 1608.69
         * orderTime : 1609689600000
         * remark : 改订单已创建
         * states : 已支付
         * totalPrice : 1608.69
         * orderDay : 3
         */

        private int id;
        private int memberId;
        private int roomId;
        private long checkInDate;
        private long departureTime;
        private int bookingRoomNum;
        private double payment;
        private long orderTime;
        private String remark;
        private String states;
        private double totalPrice;
        private String orderDay;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getMemberId() {
            return memberId;
        }

        public void setMemberId(int memberId) {
            this.memberId = memberId;
        }

        public int getRoomId() {
            return roomId;
        }

        public void setRoomId(int roomId) {
            this.roomId = roomId;
        }

        public long getCheckInDate() {
            return checkInDate;
        }

        public void setCheckInDate(long checkInDate) {
            this.checkInDate = checkInDate;
        }

        public long getDepartureTime() {
            return departureTime;
        }

        public void setDepartureTime(long departureTime) {
            this.departureTime = departureTime;
        }

        public int getBookingRoomNum() {
            return bookingRoomNum;
        }

        public void setBookingRoomNum(int bookingRoomNum) {
            this.bookingRoomNum = bookingRoomNum;
        }

        public double getPayment() {
            return payment;
        }

        public void setPayment(double payment) {
            this.payment = payment;
        }

        public long getOrderTime() {
            return orderTime;
        }

        public void setOrderTime(long orderTime) {
            this.orderTime = orderTime;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getStates() {
            return states;
        }

        public void setStates(String states) {
            this.states = states;
        }

        public double getTotalPrice() {
            return totalPrice;
        }

        public void setTotalPrice(double totalPrice) {
            this.totalPrice = totalPrice;
        }

        public String getOrderDay() {
            return orderDay;
        }

        public void setOrderDay(String orderDay) {
            this.orderDay = orderDay;
        }
    }
}
